//
//  PlayMusicModel.m
//  艾听歌
//
//  Created by dllo on 16/5/31.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "PlayMusicModel.h"

#import "SongListModel.h"

@implementation PlayMusicModel

-(void)setSongs:(NSMutableArray *)songs{
    _songs = songs;
    
    NSMutableArray *array = [NSMutableArray array];
    
    for (NSDictionary *dic in songs) {
        SongListModel *model = [[SongListModel alloc]init];
        [model setValuesForKeysWithDictionary:dic];
        
        [array addObject:model];
    }
    
    _songs = [NSMutableArray arrayWithArray:array];
    
}


@end
